package org.jeecg.modules.oa.service.impl;
import com.baomidou.dynamic.datasource.annotation.DS;
import org.jeecg.common.util.PageUtils;
import org.jeecg.common.util.Query;
import org.jeecg.modules.oa.entity.FormAttLeaveApplyReviewOpinionEntity;
import org.jeecg.modules.oa.mapper.FormAttLeaveApplyReviewOpinionMapper;
import org.jeecg.modules.oa.service.FormAttLeaveApplyReviewOpinionService;
import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;


@Service("formAttLeaveApplyReviewOpinionServiceImpl")
@DS("oa")
public class FormAttLeaveApplyReviewOpinionServiceImpl extends ServiceImpl<FormAttLeaveApplyReviewOpinionMapper, FormAttLeaveApplyReviewOpinionEntity> implements FormAttLeaveApplyReviewOpinionService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<FormAttLeaveApplyReviewOpinionEntity> page = this.page(
                new Query<FormAttLeaveApplyReviewOpinionEntity>().getPage(params),
                new QueryWrapper<FormAttLeaveApplyReviewOpinionEntity>()
        );

        return new PageUtils(page);
    }

}